1. Download the source code in http://www.apuebook.com2. View Read[emailprotected]:/home/wl/mywork/apue.2e# cat-n README 1Read the file called DISCLAIMER. 2 3Some source changes needed to being made after the book went out for the first 4printing. I forgot to make corresponding changes in the source tree on the 5system used to develop the book. The changes is summarized below. 6 71. LIB/RECVFD.C and sockets/recvfd.c-needed sys/uio.h on Mac OS X
1. Download source code in http://www.apuebook.com
2. View READ
root@ubuntu:/home/wl/mywork/apue.2e# cat -n README 1Read the file called DISCLAIMER. 2 3Some source changes needed to be made after the book went out for the first 4printing. I forgot to make corresponding changes in the source tree on the 5system used to develop the book. The changes are summarized below. 6 71. lib/recvfd.c and sockets/recvfd.c - needed sys
= = Self.getpid (): status = 1 pri NT ("Discovery process ==============name=" + Namevalue + ", pid=" + pidvalue + "\ n") break If status = 0: # into Process does not exist, restart program cmd = "python demo.py" Os.popen (cmd) print ("Restart program ... ...") p Rint ("Ending ...") return 0 if __name__ = = ' __main__ ': Monitor (). execUte ()
Pyinstaller monitorpid.py program to generate Monitor.exe file
Pyinstaller Baidu Experience: http://jingyan.baidu.com/article/a378c960b47034b3282830bb
[Ctags/csags/project installation and use] Add new wings to the god editor vim, ctagsvim
Address of this Article
Sharing outline:
1. Install
2. Use cscope
3. Use project
1. Install
1.1) linux (installed in yum)
yum -y install cscope
1.2) linux (unbuntu installation)
sudo apt-get install cscope
1.3) installation on mac-- First install ctags: http://blog.sina.com.cn/s/blog_6b33a91301012fgw.html download ctags link -- then install csags: http://blog.sina.com.cn/s/blog_6b33a91301012fh1.ht
{Code...} What is the problem !! Very urgent ~ Many of the methods mentioned on the Internet do not work, and a file is changed: {code...} and the above error occurs again. Indicates that the system is completely dizzy.
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Permission denied) in /var/www/html/MyWork/apns/index.php on line 50Failed to connect: 13 Permission denie
problem of point penetrating Ant Packaging Script:Title Android PackSet ant_home=d:\software\mywork\apache-ant-1.9.3Set Path=%ant_home%/bin;c:\windows\system32;d:\software\mywork\jdk64\jdk1.6.0_45\bin;D:CD D:\software\mywork\adt-bundle-windows-x86_64-20130917\sdk\toolsREM enters the Sdk\tools directory, executes the following command, generates build.xml,local.
1 Ctags Introduction Ctags generates a markup file to help locate an object in the source file.2 its generated tag file tags include a list of these objects:Macros defined with # defineThe value of the enumeration type variableDefinitions, prototypes, and declarations of functionsNamespaces (namespace)Type definition (typedefs)Variables (including definitions and declarations)class, struct (struct), enum type (enum), and Union (union)member variables or functions in classes, structs, and unions3
git merge and git rebase two are used to merge two branches, and in the process of use, these two concepts are easy to confuse.Here, the usage of these two git tricks is described in detail, hoping to help some git-loving friends.------------------------------------------------------------------------------------------------------git merge is used to merge two branches.git merge B# merge the B branches into the current branchThe same git rebase is also used to merge the changes of a branch into
Original address: http://blog.csdn.net/hudashi/article/details/7664631Git rebase is used to merge changes from one branch into the current branch. Suppose you now create a branch called "MyWork" based on the remote branch "origin". $ git Checkout-b mywork origin assumes that the remote branch "origin" already has 2 commits, now we make some changes in this branch and then generate two commits. $ VI file.txt
First, the basicGit rebase is used to merge changes from one branch into the current branch.Suppose you now create a branch called "MyWork" based on the remote branch "origin".$ git Checkout-b mywork originSuppose that the remote branch "origin" already has 2 commits,Now let's make some changes in this branch and then generate two commits (commit).$ VI file.txt$ git commit$ VI Otherfile.txt$ git commit...Bu
submitted
5. Because the order is rearrangement, there is a certain conflict.
6. Resolve conflicts, finally git add *, but don't want git commit
7. After resolving, perform git rebase--continue
8. Resubmit code: git push for-*
Note: If you want to rearrange the commit of some code
1. You can remember a commit number
2. Git rebase-i Commit
3. Will display a collation submission of the interface, there are many parameters, E. P. Wait a minute
4. Change the previous argument to E. The system will
Git rebase
Suppose you now create a branch called "MyWork" based on the remote branch "origin".
$ git Checkout-b mywork origin
Now let's make some changes in this branch and then generate two commits (commit).
$ VI file.txt
$ git commit
$ VI otherfile.txt
$ git commit
...
But at the same time, some people have made some changes to the "origin" branch and have made submissions. This means that the two
variables, in this case, the problem is cited.How do you share variables? What is the mechanism by which Linux is shared? Let's take a look at an example.HELLO.C used to compile into libhello.sovoid Hello () { share_fun ();}MAIN.C main function#include As we can see in the two files, the Share_fun function is accessed in the shared library libhello.so, and this function is defined in the main file.Let's say hello.c compiled into libhello.so with the following commandgcc-fpic-shared libhe
Ignoring some files 1. Ignoring certain filesProjects often generate files that do not require tracking (track) in a git system. Typical is the file generated during the build process or the temporary backup file generated by the programmer. Of course, you do not track these files, you can usually not use "git add" to add them to the index. But this can quickly become a chore, and you find that the project is littered with untraceable (untracked) documents; This also makes "Git add" and "Git com
Original:http://gitbook.liuhui998.com/4_2.html basic git rebase is used to merge changes from one branch to the current branch. Suppose you now create a branch called "MyWork" based on the remote branch "origin". $ git Checkout-b mywork origin assumes that the remote branch "origin" already has 2 commits, now we make some changes in this branch and then generate two commits. $ VI file.txt$ git commit$ VI ot
Original:Http://gitbook.liuhui998.com/4_2.htmlfirst, the basicgit rebase is used to merge changes from one branch into the current branch. Suppose you now create a branch called "MyWork" based on the remote branch "origin". $ git Checkout-b mywork originAssumeremote Branch "origin"There have been 2 commits,Now let's make some changes in this branch and then generate two commits (commit).$ VI file.txt$ git c
addnews or listnews on one page.
You can first see how html loads the two modules in a page.
Edit content
Http: // localhost: 91/home/Tabid/56/CTL/edit/Mid/365/default. aspx? Popup = true
My work
Http: // localhost: 91/home/Tabid/56/CTL/mywork/Mid/365/default. aspx? Popup = true
You can see that most of the things in the URL are the same, but the only difference is that the CTL value is different, namely
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.